projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b811cb8
)
(internal_self_insert): Check that tab_width does not
author
Richard M. Stallman
<rms@gnu.org>
Fri, 12 Mar 1993 21:42:58 +0000
(21:42 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 12 Mar 1993 21:42:58 +0000
(21:42 +0000)
exceed 20, to be consistent with indent.c and xdisp.c.
src/cmds.c
patch
|
blob
|
history
diff --git
a/src/cmds.c
b/src/cmds.c
index 8a6fb19535c7c99e70ad06241fba48d84bd016a1..9dfd2b48a8fa502d3991cb4e2ff6ce88e3a4470f 100644
(file)
--- a/
src/cmds.c
+++ b/
src/cmds.c
@@
-283,6
+283,7
@@
internal_self_insert (c1, noautofill)
&& (overwrite_binary_mode
|| FETCH_CHAR (point) != '\t'
|| XINT (current_buffer->tab_width) <= 0
+ || XFASTINT (current_buffer->tab_width) > 20
|| !((current_column () + 1) % XFASTINT (current_buffer->tab_width))))
{
del_range (point, point + 1);